// <copyright file="AutoComplete_RemoteData.aspx.cs" company="YUIAsp.Net">
// Copyright (c) 2009 All Right Reserved
// </copyright>
// <author>raul popescu</author>
// <email>dev@yuiasp.net</email>
// <date>2009-01-30</date>
// <summary>YUIAsp.Net File</summary>

using System;
using YUIAspNet;

namespace YUIAspNetDemo.AutoComplete
{
    public partial class AutoComplete_RemoteData : BaseDemoPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            RemoteDataSource src = new RemoteDataSource();
            src.AddColumn("lang");

            src.DataUrl = new Uri("LanguageHandler.asmx", UriKind.RelativeOrAbsolute);
            this.autoComplete.Source = src;
        }
    }
}
